/**
 *  Copyright 2010 ShenYang voole Co. Ltd.
 *  All right reserved. 
 */
package cn.piaoyi.dao;

import java.util.List;
import cn.piaoyi.bean.Province;

/**
 * 功能描述:省数据层接口
 *
 * 创建日期 Apr 10, 2010
 *
 * @author zhangbaochao
 *
 * @version 1.0
 *
 */
public interface ProvinceDAO {
	/**
	 * @param id
	 * @return Province
	 * 根据ID查找Province
	 */
	public Province findProvinceById(long id);
	
	/**
	 * @param name
	 * @return Province
	 * 根据name查找Province
	 */
	public Province findProvinceByName(String name);
	
	/**
	 * @return List
	 * 获取所有Province
	 */
	public List findProvinceAll();
}
